import request from "@/utils/request";

// 查询账单分账列表
export function listAllocation(params) {
  return request({
    url: "/enterprise/bill/allocation/list",
    method: "get",
    params: params
  });
}

// 编辑分账信息
export function editAllocation(data) {
  return request({
    url: "/enterprise/bill/allocation",
    method: "put",
    data: data
  });
}
